package com.hongdee.crm.taskConfig.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/5/16.
 */
@Entity
@Table(name = "T_CRM_TASK_CONF")
public class TCrmCarTaskConf extends BaseEntity {

    @Column(name = "role_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '角色ID' ")
    private String roleId;

    @Column(name = "u_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '用户ID' ")
    private String uId;

    @Column(name = "conf_type",length = 32,columnDefinition = " VARCHAR(32) COMMENT '分配类型:0全部、1尾号、2尾数、3vin、4车型，5剩余车辆' ")
    private String confType;

    @Column(name = "conf_val",length = 32,columnDefinition = " VARCHAR(32) COMMENT '分类为尾号 尾数时的值' ")
    private String confVal;

    @Column(name = "disp_order",length = 11,columnDefinition = " INT(11) COMMENT '优先级' ")
    private int dispOrder;

    @Column(name = "auto_NewCar",length = 32,columnDefinition = " VARCHAR(32) COMMENT '新车自动分配：0否，1是' ")
    private String autoNewcar;

    @Column(name = "company_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '公司ID' ")
    private String companyId;

    @Column(name = "task_p_code",length = 32,columnDefinition = " VARCHAR(32) COMMENT '任务大类' ")
    private String taskPCode;

    @Column(name = "task_c_code",length = 32,columnDefinition = " VARCHAR(32) COMMENT '任务小类' ")
    private String taskCCode;

    @Column(name = "task_type",length = 32,columnDefinition = " VARCHAR(32) COMMENT '权限类型：0管理 1是处理' ")
    private String taskType;

    @Column(name = "from_car",length = 32,columnDefinition = " VARCHAR(32) COMMENT '遵循车辆档案0否，1是' ")
    private String fromCar;

    @Column(name = "o_area",length = 32,columnDefinition = " VARCHAR(32) COMMENT '任务分配所属区域' ")
    private String oArea;

    @Column(name = "o_area_second",length = 32,columnDefinition = " VARCHAR(32) COMMENT '二级区域' ")
    private String oAreaSecond;

    @Column(name = "store_code",length = 32,columnDefinition = " VARCHAR(32) COMMENT '门店代码' ")
    private String storeCode;

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getConfType() {
        return confType;
    }

    public void setConfType(String confType) {
        this.confType = confType;
    }

    public String getConfVal() {
        return confVal;
    }

    public void setConfVal(String confVal) {
        this.confVal = confVal;
    }

    public int getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(int dispOrder) {
        this.dispOrder = dispOrder;
    }

    public String getAutoNewcar() {
        return autoNewcar;
    }

    public void setAutoNewcar(String autoNewcar) {
        this.autoNewcar = autoNewcar;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getTaskPCode() {
        return taskPCode;
    }

    public void setTaskPCode(String taskPCode) {
        this.taskPCode = taskPCode;
    }

    public String getTaskCCode() {
        return taskCCode;
    }

    public void setTaskCCode(String taskCCode) {
        this.taskCCode = taskCCode;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getFromCar() {
        return fromCar;
    }

    public void setFromCar(String fromCar) {
        this.fromCar = fromCar;
    }

    public String getoArea() {
        return oArea;
    }

    public void setoArea(String oArea) {
        this.oArea = oArea;
    }

    public String getoAreaSecond() {
        return oAreaSecond;
    }

    public void setoAreaSecond(String oAreaSecond) {
        this.oAreaSecond = oAreaSecond;
    }
}
